﻿
@{
    ViewBag.Title = Resources.WebStringsWeb.WebTitle;
    Layout = "~/Views/Shared/_LayoutMobile.cshtml";
}

@section css {
    <style>
        .IsException {
            color: red;
        }

        .IsNormal {
            color: blue;
        }

        .mui-bar ~ .mui-content .mui-scroll-wrapper {
            top: 44px;
            height: auto;
        }
    </style>
}
<header ng-controller="EmergencyController" class="mui-bar mui-bar-nav">
    <a class="mui-icon mui-icon-left-nav mui-pull-left" href="../Emergency/MMenu"></a>
    <h1 class="mui-title" style="color:white;">应急队伍</h1>
</header>
<div class="mui-content" ng-controller="EmergencyController" ng-init="GetEmergencyTeamList();">
    <div class="mui-card" ng-repeat="x in TeamList" ng-cloak>
        <div class="mui-card-header"><h4>{{x.Name}}</h4></div>
        <div class="mui-card-content">
            <div class="mui-card-content-inner" style="font-size:16px;">
                <b>部门</b>：{{x.Department}}<br /><br />
                <b>座机</b>：<a href="tel:{{x.Tel}}">{{x.Tel}}</a><br /><br />
                <b>手机</b>：<a href="tel:{{x.MobilePhone}}">{{x.MobilePhone}}</a><br /><br />
                <b>备注</b>：{{x.Remark}}<br />
            </div>
        </div>
        @*<div class="mui-card-footer">页脚</div>*@
    </div>
    <div style="height:60px;"></div>
</div>
@section js{
    <script src="~/Assets/js/mui.pullToRefresh.js"></script>
    <script src="~/Assets/js/mui.pullToRefresh.material.js"></script>
    <script src="~/Assets/js/pg/Emergency.js?v=@DateTime.Now.ToString("yyyyMMddHHmm")"></script>
    <script>
        mui.init({
            swipeBack: false,
            keyEventBind: {
                backbutton: false  //关闭back按键监听
            }
        });
                        //mui.showLoading("正在加载..", "div");
                        //setTimeout(function () {
                        //    mui.hideLoading();
                        //}, 1000);


    </script>
}
